
pip3 install pandas flask flask_cors requests openpyxl xlrd 

main_pid=`ps -ef | grep 'main.py' | grep -v grep | awk '{ print $2}'`
# echo需要双引号，而kill -9 指令不需要
echo "find pid: $main_pid"
kill -9 $main_pid
sleep 2
echo "main.py server killed"

python3 main.py &
exit

